home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19951130-19960209 / 000345_news@columbia.edu _Thu Jan 25 10:35:21 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id KAA12601 for <kermit.misc@watsun>; Thu, 25 Jan 1996 10:35:15 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id KAA17284 for kermit.misc@watsun; Thu, 25 Jan 1996 10:35:06 -0500 (EST)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Looking for Kermit pine downloading script
  8. Date: 25 Jan 1996 15:34:43 GMT
  9. Organization: Columbia University
  10. Lines: 92
  11. Message-ID: <4e87uj$grp@apakabar.cc.columbia.edu>
  12. References: <3106684A.1E34@gmis.com>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <3106684A.1E34@gmis.com>, Joseph B. Gill <gilljb@gmis.com> wrote:
  16. >Does anyone have or know where there is a "generic" Kermit script
  17. >to log on to a UNIX box and download new e-mails from pine? 
  18. >
  19. >From our FAQ:
  20.  
  21.   http://www.columbia.edu/kermit/faq.html
  22.   ftp://kermit.columbia.edu/kermit/faq.txt
  23.  
  24. 18 HOW DO I USE KERMIT WITH PINE?
  25.  
  26. Here's a tip sheet we use at Columbia University - thanks to Joe Brennan.
  27.  
  28. SCREEN FORMATTING
  29.  
  30. Make sure that your UNIX terminal type agrees with Kermit's terminal emulation.
  31. For example, if Kermit is emulating a VT320, tell UNIX:
  32.  
  33.   export TERM=vt320
  34.  
  35. or:
  36.  
  37.   setenv TERM vt320
  38.  
  39. If there is a complaint about "terminal type unknown" when starting Pine, then
  40. try a lesser VT terminal model, such as VT220, VT102, VT100.
  41.  
  42. PRINTING
  43.  
  44. Pine's print command, letter Y, is known to work with MS-DOS Kermit and Mac
  45. Kermit.  With MS-DOS Kermit, if the printer is directly attached, it should
  46. make the printer print the selected email message.  With Mac Kermit, it should
  47. send the selected email message into the printer buffer, which can be seen in
  48. the Printer window, and which can be printed using the print command in the
  49. pulldown File menu.
  50.  
  51. The command ''pcprint'' on UNIX (*), which prints any text file, does the same
  52. thing as Pine's Print command.  It may be easier to debug problems by running a
  53. command like ''pcprint .profile'' at the UNIX shell ($ prompt).
  54.  
  55. (*) pcprint is a UNIX shell script:
  56.  
  57. ---(cut here)---
  58. echo -n '<ESC>[5i'
  59. if [ $# -eq 0 ]; then
  60.   cat
  61. else
  62.   cat $*
  63. fi
  64. echo -n '<ESC>[4i'
  65. ---(cut here)---
  66. (Replace <ESC> by a real Escape (ASCII 27) character.
  67.  
  68. DOWNLOADING FROM PINE TO THE PC
  69.  
  70. Use Pine's command letter E, Export, to copy a message into a file.  This file
  71. will be created in your home directory on UNIX.  Then it can be downloaded to
  72. your PC or Mac using Kermit.  After you finish, remember to remove the
  73. now-unneeded file on UNIX, using the ''rm'' command at the $ prompt.
  74.  
  75. If you View a MIME-encoded message, Pine will ask whether to save it to a file
  76. with a name of your choice.  Pine will decode the message and create the file
  77. in your home directory on UNIX.  It can then be downloaded to your PC using
  78. kermit.  MIME-encoded files are often binaries rather than plain text, so you
  79. should set kermit to transfer a binary file.
  80.  
  81. UPLOADING FROM THE PC TO PINE
  82.  
  83. Send email in plain text if possible.  Save the document as plain ASCII text
  84. with the PC application that created it.  Use Kermit to upload it to UNIX.  Run
  85. Pine, choose letter C, Compose, and address your message as usual.  Move the
  86. cursor to the Message Text area and choose control-R, Read File, and type the
  87. name the file (the copy on UNIX) to insert.  You will see the file on screen,
  88. as if you had typed it.  If it looks strange, it's not plain text, so start
  89. over.  After you finish, remember to remove the now-unneeded file on UNIX,
  90. using the ''rm'' command at the $ prompt.
  91.  
  92. If you want to send a PC document, use Kermit to upload it, setting Kermit to
  93. transfer a binary file.  Run Pine, choose letter C, Compose, and at the
  94. Attchmnt: header, type the name of the file (the copy on UNIX).  Pine will
  95. encode it using MIME, and attach it to the end of any text you choose to type
  96. in the message.  *Note*: with MIME or any form of encoding, you should
  97. determine whether the recipient of your message will be able to decode it.
  98. Plain text email (previous paragraph) can be read on any email system.
  99.  
  100. (End quote)
  101.  
  102. You can also use the printing method described above to save (append)
  103. a message to a PC file, by using MS-DOS Kermit's SET PRINTER command to
  104. redirect printer material to the desired file.
  105.  
  106. - Frank